package com.hz.zbl.service;

import com.hz.zbl.model.dto.CourseStudentInfoDto;
import com.hz.zbl.model.dto.TeacherScheduleDTO;
import com.hz.zbl.model.entity.CourseEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface TeacherCourseService {

    int checkScore(@Param("user_score") int user_score, @Param("student_user_id") int student_user_id, @Param("course_code") String course_code );

    List<TeacherScheduleDTO> teacherSchedule(@Param("teacher_user_id") int teacher_user_id, @Param("course_year") Integer course_year, @Param("course_semester") Integer course_semester);

    List<CourseStudentInfoDto> teacherCourseStudentInfo(@RequestParam("teacher_user_id") int teacher_user_id, @RequestParam("course_code") String course_code);


}
